/**
 * 实体查询参数类型
 */
export interface RepoGroupQueryParam extends PageQuery {
    groupName?: string;
}

/**
 * 实体分页列表项
 */
export interface RepoGroupItem {
    id?: string;
    ownerId?: string;
    groupName?: string;
    description?: string;
    valid?: boolean;
    createTime?: number;
    updateTime?: number;
}

/**
 * 实体分页列表项
 */
export interface RepoGroupMember {
    groupName?: string;
    userName?: string;
}

/**
 * 实体分页列表项
 */
export interface RepoGroupVerItem {
    groupName?: string;
    description?: string;
    members?: RepoGroupMember[];
    createTime?: number;
    updateTime?: number;
}

export interface RepoGroupOption {
    groupId?: string;
    groupName?: string;
}

/**
 * 实体列表类型
 */
export type RepoGroupListResult = RepoGroupItem[];

/**
 * 实体分页项类型
 */
export type RepoGroupPageResult = PageResult<RepoGroupItem[]>;

/**
 * 实体表单类型：代表一个用于增删改查的临时对象
 */
export interface RepoGroupFormData extends RepoGroupItem {
    // 表单状态
    sort: number;
    status: number;
}

/**
 * 创建实体请求VO
 */
export interface CreateEntityRequestVO {
    id?: string;
    groupId?: string;
    groupName?: string;
    userName?: string;
    userRole?: string;
    member?: string;
    description?: string;
}

